package com.sikaryofficial.backend.domain.dto.req;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

/**
 * 用户反馈对象
 *
 * @author qinjinyuan
 * @date 2023-11-16
 */

@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "用户反馈对象请求入参", description = "用户反馈对象请求入参")
public class FeedbackReq {

    /**
     * 反馈ID
     */
    @JsonIgnore
    private Long feedbackId;

    /**
     * 反馈类型：1-建议,2-账号注销,3-删除个人信息
     */
    @ApiModelProperty(value = "反馈类型：1-建议,2-账号注销,3-删除个人信息")
    private Integer feedbackType;

    /**
     * 原因
     */
    @ApiModelProperty(value = "原因")
    @Length(max = 1000, message = "reason can not exceed 1000 characters")
    private String reason;

}
